import request from '@/utils/request'

// 查询通讯录同步日志列表
export function listMarket_contacts_sync_log(query) {
    return request({
        url: '/market/market_contacts_sync_log/list',
        method: 'get',
        params: query
    })
}

// 查询通讯录同步日志详细
export function getMarket_contacts_sync_log(id) {
    return request({
        url: '/market/market_contacts_sync_log/' + id,
        method: 'get'
    })
}

// 新增通讯录同步日志
export function addMarket_contacts_sync_log(data) {
    return request({
        url: '/market/market_contacts_sync_log',
        method: 'post',
        data: data
    })
}

// 修改通讯录同步日志
export function updateMarket_contacts_sync_log(data) {
    return request({
        url: '/market/market_contacts_sync_log',
        method: 'put',
        data: data
    })
}

// 删除通讯录同步日志
export function delMarket_contacts_sync_log(id) {
    return request({
        url: '/market/market_contacts_sync_log/' + id,
        method: 'delete'
    })
}

// 导出通讯录同步日志
export function exportMarket_contacts_sync_log(query) {
    return request({
        url: '/market/market_contacts_sync_log/export',
        method: 'get',
        params: query
    })
}